package com.design.create.builder;

public class BuilderTest {

    public static void main(String[] args) {
        MealDirector director = new MealDirector();

        MealA a = new MealA();
        director.setMealBuilder(a);
        Meal meala = director.construct();
        System.out.println(meala.getFood() + "---------" + meala.getDrink());
    }
}
